package com.song.order.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author 宋伟宁
 * @Date 2024/1/11
 * @Version 1.0
 **/
@FeignClient("book-8810")
public interface BookFeignService {

    @PutMapping("/stock")
    public Boolean stock(@RequestParam("id") Long id, @RequestParam("count")Long count);
}
